
package com.fss.activity.service;

import java.util.List;

import com.fssDataModels.TbActivity;


public interface ActivityService {
	
	//-userType(0->admin,1->normal user)
	public List<TbActivity> getActivities(Integer userType);
	public List<TbActivity> getActivities(int numOfResults,Integer userType);
	
	public TbActivity getActivityById(int activityId);
	
	//return: - 0 --> failed
	//		  - 1 --> success
	public int addActivity(TbActivity activity);
	
	//return: - 0 --> failed
	//		  - 1 --> success
	public int editActivity(TbActivity activity);
	
	//return: - 0 --> failed
	//		  - 1 --> success
	public int deleteActivity(TbActivity activity);

}
